#!/bin/bash

# =============================================================
# onfail usage:
#
#     $1 = top (src directory)
#     $2 = type (current type from build server)
#     $3 = title
#     $4 = buildnumber
# =============================================================

export SourceRoot=$1
export BuildType=$2
export BuildTitle=$3
export BuildNumber=$4

export BuildDirectory=/usr/builds
export BuildServerDir=$HOME/buildserver/server
export Retail=/mnt/dev/builds/$BuildTitle/$BuildNumber/$BuildType

#
# Run whatever is necessary to handle a build failure
#
